package com.gitee.wsl.doc.prosemirror.transform.ext

import com.gitee.wsl.doc.prosemirror.model.fragment.Slice
import com.gitee.wsl.doc.prosemirror.transform.TransformAble

// Delete the content between the given positions.
fun<T: TransformAble> T.delete(from: Int, to: Int) = this.replace(from, to, Slice.empty)


